package sizeyunsuan;
import java.io.IOException;
import java.util.Scanner;
public class Calcul
{
    public static void main(String[] args)throws IOException {
        //确定语言
        Scanner scan = new Scanner(System.in);
        System.out.println("请选择语言（1-简体中文、2-繁体中文、3-表示英语");
        int langue = scan.nextInt();
        //确定输出的式子的个数。
       if (langue ==1)
           System.out.println("你想输出几个式子：");
           else if (langue== 2)
           System.out.println("你想要輸入幾個式子：");
               else
           System.out.println("How many formulas do you want?");
        int num1 = scan.nextInt();
        //确定几个数字参加运算
        if (langue ==1)
            System.out.println("你想要几个数字参加运算;");
        else if (langue== 2)
            System.out.println("你想要幾個式子參加運算：");
        else
            System.out.println("Do you want to participate in the operation of a few");
        System.out.println();
        int num2 = scan.nextInt();
        //输出式子
        Problem problem =new Problem();
        problem.Problem(num1,num2,langue);
    }
}
